package com.hc.conferencecheck.service;

import com.hc.conferencecheck.entity.ResultMsg;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * 发送短信的service
 */
public interface MessageService {
    /**
     * 给用户发送审核短信
     */
    public String sendApprovedMessage02(int attendRecordId, String reason);

    /**
     * 给用户发送审核未通过的短信
     */
    public String sendNotApprovedMessage(int attendRecordId, String reason);

    /**
     * 给用户发送审核通过的短信
     */
    public String sendApprovedMessage(int attendRecordId);

    /**
     * 发送修改密码的短信验证码接口
     */
    public ResultMsg sendEditPasswordVerificationCode(Map<String, Object> params, HttpServletRequest request);

    /**
     * 发送注册验证码接口
     */
    public ResultMsg sendRegisterVerificationCode(Map<String, Object> params, HttpServletRequest request);

    /**
     * 发送登录验证码接口
     */
    public ResultMsg sendLoginVerificationCode(Map<String, Object> params, HttpServletRequest request);
}
